package com.zky.gulimall.seckill.service;

import com.zky.gulimall.seckill.to.SecKillSkuRedisTo;

import java.util.List;

/**
 * @Description 秒杀service
 * @Author 张开源
 * @Date 2022/12/26 13:18
 * @Version 1.0
 **/
public interface SecKillService {
    void uploadSecKillSkuLatest3Days();

    List<SecKillSkuRedisTo> getCurrentSecKillSkus();

    SecKillSkuRedisTo getSkuSecKillInfo(Long skuId);

    String kill(String killId, String key, Integer num);
}
